package pub.dsb.spring.bean.componentscan;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <p>
 * <p>
 * </p>
 *
 * @author Yi
 * @version V1.0.0
 * @date 2020/12/14 16:25
 * @modificationHistory=========================逻辑或功能性重大变更记录
 * @modify By: {修改人} 2020/12/14 16:25
 * @modify reason: {方法名}:{原因}
 * ...
 * @since V1.0.0
 */
@Configuration
public class Config {

    @Bean
    public HelloBean secondHelloBean(){
        return new HelloBean("HAHA");
    }

    @Bean
    public HelloBeanFactoryPostProcess helloBeanFactoryPostProcess(){
        return new HelloBeanFactoryPostProcess();
    }
}
